<?php

/**
 * Fixes the slide type field name length
 *
 */
class Db_020_bbce_fix_slide_type_field_name_length extends Ot_Migrate_Migration_Abstract
{
    public function up($dba)
    {
        $query = "ALTER TABLE  `" . $this->tablePrefix . "tbl_slide` CHANGE  `slideType`  `slideType` VARCHAR( 128 ) CHARACTER SET ucs2 COLLATE ucs2_general_ci NOT NULL";
        
        $dba->query($query);
    }
    
    public function down($dba)
    {       
        $query = "";
        $dba->query($query);
    }
}